<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="vue.js"></script>
</head>
<body>
    <div id='div1'>
        <h4>{{ces}}</h4>
    

    <input type="text" v-model="ces">   

    </div>
    <!-- 双向数据绑定  v_model   只能用在表单元素中-->

    <script>
        var vm = new Vue({
            el : "#div1",
            data : {
                ces : "cescess"
            },
            methods: {
            }
        })
    </script>
</body>
</html>